package com.jinunn.hosp.service;

import com.atguigu.yygh.model.hosp.HospitalSet;
import com.atguigu.yygh.vo.hosp.HospitalSetQueryVo;
import com.atguigu.yygh.vo.order.SignInfoVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface HospitalSetService extends IService<HospitalSet> {
    /**
     * 条件查询带分页
     * @param current 总页数
     * @param limit  页数
     * @param hospitalSetQueryVo  查询条件
     */
    Page<HospitalSet> findPage(long current, long limit, HospitalSetQueryVo hospitalSetQueryVo);

    HospitalSet getDetil(long id);

    boolean updateHostset(HospitalSet hospitalSet);

    String getSingKey(String hoscode);

    /**
     * 获取医院签名信息
     * @param hoscode 医院编号
     * @return 医院签名信息
     */
    SignInfoVo getSignInfoVo(String hoscode);
}
